import request from './request.js'
import qs from 'qs' ;

const update = function(param)
{
    return request({
        method: 'POST',
        url:'/updates/updateByAdmin/'+param.id+'/'+param.state+'?token=Bearer '+localStorage.getItem('jwttoken') ,
    })
}

export default update;